package eleme.openapi.sdk.api.entity.decoration;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

public class OShopPosterResponse {

    /**
     * 海报ID
     */
    private Long posterId;

    public Long getPosterId() {
        return posterId;
    }

    public void setPosterId(Long posterId) {
        this.posterId = posterId;
    }

    /**
     * 海报名称
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 海报图片
     */
    private OImage image;

    public OImage getImage() {
        return image;
    }

    public void setImage(OImage image) {
        this.image = image;
    }

    /**
     * 生效日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date effectiveDate;

    public Date getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(Date effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    /**
     * 失效日期
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date expiryDate;

    public Date getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(Date expiryDate) {
        this.expiryDate = expiryDate;
    }

    /**
     * 生效星期，值为1-7，
     */
    private List<Integer> effectiveWeeks;

    public List<Integer> getEffectiveWeeks() {
        return effectiveWeeks;
    }

    public void setEffectiveWeeks(List<Integer> effectiveWeeks) {
        this.effectiveWeeks = effectiveWeeks;
    }

    /**
     * 生效时间，默认00:00:00，最小单位：小时；（01：00-02：00）
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date effectiveTime;

    public Date getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    /**
     * 失效时间，默认23:59:59，最小单位：小时；（01：00-02：00）
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date expiryTime;

    public Date getExpiryTime() {
        return expiryTime;
    }

    public void setExpiryTime(Date expiryTime) {
        this.expiryTime = expiryTime;
    }

    /**
     * 海报状态,
     */
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 最新的修改时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8")
    private Date updatedTime;

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

}
